package com.education.basic.dao;

import java.util.List;

import com.education.basic.entity.Department;
import com.yunshangwoniu.core.baseDao.BaseDao;

public interface DepartmentDao extends BaseDao<Department>
{
	/**
	 * 获得最后一条数据的code
	 * @return
	 */
	public String getLastCode();
	
	/**
	 * 获得所有
	 * @return
	 */
	public List<Department> queryAll();
	
}
